          <a href="<?=URL?>/home.html">Home</a>
<?php

if(Session::Get('user') > 0) {
  
  $db = new Database(); ?>
          -
          <a href="<?=URL?>/board.html">Board</a>
          -
          <a href="<?=URL?>/games.html">Games</a>
          -
          <a href="<?=URL?>/members.html">Members [<?=$db->Count('users')?>]</a>
          -
          <a href="<?=URL?>/profile.html">Profile</a>
<?php
$user = new User(Session::Get('user'));
  if($user->Perms('admin')) { ?>
          -
          <a href="<?=URL?>/admin.html">Administration</a>
<?php
  } ?>
          -
          <a href="<?=URL?>/logout.html">Logout</a>
<?php
}
          